<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
    />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <!-- <title><%= webpackConfig.name %></title> -->
    <title>67期人资</title>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= webpackConfig.name %> doesn't work properly without
        JavaScript enabled. Please enable it to continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
      arr = [
        { id: 1, pid: 0, name: '1' },
        { id: 2, pid: 0, name: '2' },
        { id: 3, pid: 1, name: '3' },
        { id: 4, pid: 3, name: '4' }
      ]
      let newArr = [
        {
          id: 1,
          pid: 0,
          name: '1',
          children: [
            {
              id: 3,
              pid: 1,
              name: '3',
              children: [{ id: 4, pid: 3, name: '4' }]
            }
          ]
        },
        { id: 2, pid: 0, name: '2' }
      ]
    </script>
  </body>
</html>
